// GroupPipeInfo.cpp: implementation of the CGroupPipeInfo class.
//
//////////////////////////////////////////////////////////////////////

#include "stdafx.h"
#include "pdarx.h"
#include "GroupPipeInfo.h"

#ifdef _DEBUG
#undef THIS_FILE
static char THIS_FILE[]=__FILE__;
#define new DEBUG_NEW
#endif

//////////////////////////////////////////////////////////////////////
// Construction/Destruction
//////////////////////////////////////////////////////////////////////

CGroupPipeInfo::CGroupPipeInfo()
{
	m_dbBaseDis = 0.0;
	m_dbNearDis = 0.0;
	m_dbLevel = 0.0;
	m_iColor = 0;

}

CGroupPipeInfo::CGroupPipeInfo(const CGroupPipeInfo &other)
{
	*this = other;
}

CGroupPipeInfo::CGroupPipeInfo(const CGroupPipeInfo *other)
{
	*this = *other;
}

CGroupPipeInfo::~CGroupPipeInfo()
{

}


CGroupPipeInfo& CGroupPipeInfo::operator =(const CGroupPipeInfo &other)
{
	if(this == &other)
	{
		return *this;
	}

	m_strSN = other.m_strSN;
	m_strHandle = other.m_strHandle;
	m_dbBaseDis = other.m_dbBaseDis;
	m_dbNearDis = other.m_dbNearDis;
	m_dbLevel = other.m_dbLevel;
	m_strLayer = other.m_strLayer;
	m_iColor = other.m_iColor;
	m_lstPipePara = other.m_lstPipePara;
	m_IdPreObj = other.m_IdPreObj;
	m_pt3StartCenter = other.m_pt3StartCenter;
	m_pt3EndCenter = other.m_pt3EndCenter;

	return *this;
}